set(CMAKE_VERSION_MAKEFILE ON)
if(DEFINED ENV{ATVC_PATH})
    set(ATVC_PATH $ENV{ATVC_PATH})
else()
    set(ATVC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../../../include")
endif()
if ("${CMAKE_BUILD_TYPE}x" STREQUAL "Debugx")
    add_ops_compile_options(ALL OPTIONS -g -O0)
endif()

add_ops_compile_options(ALL OPTIONS -g -O0 --cce-aicore-block-local-init -I ${ATVC_PATH})
add_kernels_compile()